<extend name="common:main_index" />
<block name="children_body">


	<style type="text/css">
</style>
 
    <div class="main">
        <h2>ThinkPHP示例之：表单处理
        </h2>
        <form method='post' action="__URL__/insert">
            <table cellpadding=2 cellspacing=2>
                <tr>
                    <td >用户名：</td>
                    <td ><input type="text" name="uname" ></td>
                </tr>
                <tr>
                    <td >密码：</td>
                    <td><textarea name="password" rows="5" cols="25"></textarea></td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" class="button" value="提 交"> <input type="reset" class="button" value="清 空"></td>
                </tr>
            </table>
        </form>
    </div>
    
    <ul>
	<foreach name="userList" item="user">
	<li>用户名：{$user.uname}<br/>密码：{$user.password}</li>
	</foreach>
    </ul>
        
</block>  

